package com.yunxi.poc.starbucks.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunxi.poc.starbucks.entity.TOrderNew;
import com.yunxi.poc.starbucks.entity.TOrderNewDetails;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author shiyuan.xlc
 * @since 2021-08-25
 */
public interface ITOrderNewDetailsService extends IService<TOrderNewDetails> {

    /**
     * 批量生成订单计算过程
     */
    void batchGenDetails();

    void batchGenDetails(List<TOrderNew> orderNews);
}
